package com.cssy.yd.basic.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.cssy.base.service.IBaseService;
import com.cssy.yd.basic.entity.BasicStorageinfoDO;
import com.plat.exception.SyBaseException;
import com.plat.helper.SearchConditions;
import com.plat.helper.SearchResult;

public interface IBasicStorageService extends IBaseService<BasicStorageinfoDO>{
	
	
	/**
     * 获取对象列表
     * @param BasicStorageinfoDO
     * @return 对象列表
     */
    public List<BasicStorageinfoDO> findListByExample(BasicStorageinfoDO basicHubDO) throws SyBaseException;
    /**
	 * 根据仓库编码查询仓库信息
	 * @param whCode 仓库编码
	 * @return 此仓库编码对应的仓库信息
	 */
	public BasicStorageinfoDO findByWhCode(String whCode);
	
	public List<BasicStorageinfoDO> findwh(HttpServletRequest request)
			throws SyBaseException;
    
	public List<BasicStorageinfoDO> findwh() throws SyBaseException;
	
	/**
	 * 获取所有的区域
	 * @return
	 * @throws SyBaseException
	 */
	public List<String> getStorageinfoAndArea() throws SyBaseException;
	/**
     * 获取对象列表
     * @param BasicStorageinfoDO
     * @return 对象列表
     */
    public SearchResult findAllByExample(SearchConditions scs) throws SyBaseException;
}
